@charset "UTF-8";
.ecgo-calendar {
  position: relative;
  background-color: #fff;
  border-radius: 4px;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #375e97;
  .next-btn, .prev-btn {
    position: absolute;
    top: 16px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: #fff;
    background-color: #F30A37;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    user-select: none;
  }
  .next-btn {
    &:after, &:before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      margin: auto;
      width: 7px;
      height: 2px;
      border-radius: 2px;
      background-color: #fff;
    }
  }
  .prev-btn {
    &:after, &:before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      margin: auto;
      width: 7px;
      height: 2px;
      border-radius: 2px;
      background-color: #fff;
    }
  }
  .next-btn:before, .prev-btn:before {
    top: 9px;
  }
  .next-btn:after {
    bottom: 9px;
  }
  .prev-btn {
    &:after {
      bottom: 9px;
    }
    left: 20px;
    &:before {
      transform: rotate(-45deg);
    }
    &:after {
      transform: rotate(45deg);
    }
  }
  .next-btn {
    right: 20px;
    &:before {
      transform: rotate(45deg);
    }
    &:after {
      transform: rotate(-45deg);
    }
  }
  .calendar-tit {
    width: 100%;
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-size: 18px;
  }
  .calendar-week {
    text-align: center;
    span {
      display: inline-block;
      width: 14.28%;
      line-height: 32px;
      color: #B2B4BE;
    }
  }
  .calendar-daylist {
    padding: 20px 0;
    .daylist-blank {
      display: inline-block;
      vertical-align: top;
      width: 14.28%;
      &:last-child .range-item, &:nth-child(7n) .range-item {
        border-radius: 0 4px 4px 0;
      }
    }
    .date-grid {
      width: 100%;
      height: 52px;
      margin-top: 4px;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      user-select: none;
      &.disable {
        cursor: not-allowed;
        color: #B2B4BE;
        // background: repeating-linear-gradient(-45deg, #F4F4F6, #F4F4F6 4px, #fff 0, #fff 8px);
        &:hover {
          color: #B2B4BE;
          background: transparent;
        }
      }
      &:hover {
        color: #333;
        background: rgba(255, 255, 255, .8);
      }
    }
  }
}